<style>
    body{
        font-family: Helvetica;
        font-size: 11px;
    }

    th {
        background-color: black;
        color: white;
    }

    td,th{
        padding: 5px;
    }

    .summary{
        margin-right: 50px;
        margin-bottom: 20px;
    }
</style>
<div id="view-content">
<h3>Transaksi status</h3>
<table>
    <thead>
        <th>ID</th>
        <th>Status</th>
        <th>Jumlah</th>
    </thead>
    <?php foreach($this->status as $key): ?>
    <tr style="background-color: <?= $this->cycle(array("#ccffcc","#99ff99"))->next(); ?>;">
        <td><?= $this->escape($key->status_id); ?></td>
        <td><?= $this->escape($key->description); ?></td>
        <td><?= $this->escape($key->total)." transaksi"; ?></td>
    </tr>
    <?php endforeach; ?>
</table>
</div>
</div>